﻿<%@ Page Title="Pengadaan Barang" Language="C#" MasterPageFile="~/Lab.master" AutoEventWireup="true" CodeFile="PengadaanBarang.aspx.cs" Inherits="PengadaanBarang" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="BodyContent" runat="Server">
    <div class="col-md-12 col-sm-12 col-xs-12">
        <div class="x_panel">
            <div class="x_title">
                <h2>Daftar Pengadaan Barang</h2>
                <ul class="nav navbar-right panel_toolbox">
                    <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="#">Settings 1</a>
                            </li>
                            <li><a href="#">Settings 2</a>
                            </li>
                        </ul>
                    </li>
                    <li><a class="close-link"><i class="fa fa-close"></i></a>
                    </li>
                </ul>
                <div class="clearfix"></div>
            </div>

            <div class="x_content">
                <form id="myForm" class="form-horizontal form-label-left" method="post" runat="server">
                    <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="barang">TAHUN ANGGARAN<span class="required">*</span></label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <asp:DropDownList runat="server" ID="lstTahun" CssClass="select2_tahun form-control" EnableViewState="true" AutoPostBack="true" OnSelectedIndexChanged="lstTahun_SelectedIndexChanged">

                            </asp:DropDownList>
                        </div>
                    </div>
                    <div class="clearfix"></div>
                    <br />
                    <div class="form-group">
                        <div class="table-responsive">
                            <asp:Repeater ID="userList" runat="server">
                                <HeaderTemplate>
                                    <table class="table table-striped jambo_table bulk_action">
                                        <thead>
                                            <tr class="headings">
                                                <th class="column-title">NO</th>
                                                <th class="column-title">Nama Barang</th>
                                                <th class="column-title">Kemasan</th>
                                                <th class="column-title">Volume</th>
                                                <th class="column-title">Rincian</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr class="even pointer">
                                        <td class=" "><%# DataBinder.Eval(Container.DataItem, "NO") %></td>
                                        <td class=" "><%# DataBinder.Eval(Container.DataItem, "NAMA_BARANG") %></td>
                                        <td class=" "><%# DataBinder.Eval(Container.DataItem, "KEMASAN") %></td>
                                        <td class=" "><%# DataBinder.Eval(Container.DataItem, "JUMLAH") %> <%# DataBinder.Eval(Container.DataItem, "VOLUME") %></td>
                                        <td class=" "><%# DataBinder.Eval(Container.DataItem, "DETAIL") %></td>
                                    </tr>
                                </ItemTemplate>
                                <FooterTemplate>
                                    </tbody>
                                            </table>
                                </FooterTemplate>
                            </asp:Repeater>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-5">
                            <asp:Button runat="server" Text="Cetak Pengadaan Barang" CssClass="btn btn-success" ID="btnCetak" OnClick="btnCetak_Click" />
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="BodyFooterContainer" runat="Server">
</asp:Content>

